# $Id: PKGBUILD 150246 2012-02-15 21:09:27Z ronald $
# Maintainer: Ronald van Haren <ronald@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>

pkgname=libnova
pkgver=0.14.0
pkgrel=1
pkgdesc="A general purpose, double precision, celestial mechanics, astrometry and astrodynamics library."
url="http://libnova.sourceforge.net/"
license=('GPL2')
arch=('i686' 'x86_64')
depends=('glibc')
makedepends=('pkgconfig')
source=(http://downloads.sourceforge.net/sourceforge/libnova/$pkgname-$pkgver.tar.gz)
options=(!libtool)
sha1sums=('4ea7034a907d0578646b0d12fc4a095de8b23f51')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}
	./configure --prefix=/usr
	make
}

package() {
        cd ${srcdir}/${pkgname}-${pkgver}
	make DESTDIR=${pkgdir} install
}
